x86, hvm: Implement interrupt routing to least priority processor.
authorKeir Fraser <keir.fraser@citrix.com>
Tue, 18 Nov 2008 11:16:36 +0000 (11:16 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Tue, 18 Nov 2008 11:16:36 +0000 (11:16 +0000)
commit5f8902540cff4f5a69218f3cdd04caf5a0028ee8
tree46353fab9124865cef26978d00f27627974e63c8
parenteab9e6e242d4698c015a7f3785e8fd67b44b3843
x86, hvm: Implement interrupt routing to least priority processor.

Instead of round robin the vcpu with the lowest processor
priority is selected for the interrupt. If multiple vcpus
share the same low priority then interrupts are distributed between
those round robin.

Signed-off-by: Juergen Gross <juergen.gross@fujitsu-siemens.com>
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen/arch/x86/hvm/vioapic.c
xen/arch/x86/hvm/vlapic.c
xen/arch/x86/hvm/vmsi.c
xen/include/asm-x86/hvm/vlapic.h